﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JingQiao.Ads.Domain.Model.Repository
{
    using Domain.Model.DomainObject;
    using Infrastructure;

    public interface IConfigInfoRepository : IRepository<IConfigInfo>
    {
        bool ContainsDestination(int configInfoId);

        IConfigInfo FindById(int id);

        IQueryable<IConfigInfo> FindByIds(string ids);

        void Remove(string ids);

        void Remove(IEnumerable<IConfigInfo> configInfos);

        IQueryable<IConfigInfo> FindAll();

        PagedResult<IConfigInfo> FindAll(int pageSize, int pageIndex);

        PagedResult<IConfigInfo> FindByName(int pageSize, int pageIndex, string nameKeyword);
    }
}
